'''
类
'''


# 创建一个类
class Student:
    name = None
    age = None
    sex = "男"

    # 构造方法 使用self关键字
    def __int__(self, name, age, sex):
        self.name = name
        self.age = age
        self.sex = sex


# 创建一个对象
stu_1 = Student()
# 给对象属性赋值
stu_1.name = "小红"
stu_1.sex = "女"
stu_1.age = 18

# 输出属性对象内容
print(stu_1.name)
print(stu_1.age)
print(stu_1.sex)
